//
//  LSZNotificationOriginalInformationTableViewCell.m
//  JKFuYinProject
//
//  Created by 九酷 on 2018/9/10.
//  Copyright © 2018年 LC. All rights reserved.
//

#import "LSZNotificationOriginalInformationTableViewCell.h"

@implementation LSZNotificationOriginalInformationTableViewCell

-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        CGFloat height = [LSZSpecialPackaging initWithReturnsthesizeOf:40 :5];
        UIView * viewBack = [[UIView alloc]initWithFrame:CGRectMake(10, 10, ScreenWidth-20, height)];
        viewBack.backgroundColor = divider;
        [self addSubview:viewBack];

        self.labelContent = [[UILabel alloc]initWithFrame:CGRectMake(10, 10, viewBack.frame.size.width-20, viewBack.frame.size.height-20)];
        self.labelContent.numberOfLines = 0;
        self.labelContent.textColor = titleColorLSZ;
        [LSZSpecialPackaging setLabel_14_5_Size:self.labelContent];
        [viewBack addSubview:self.labelContent];
    }
    return self;
}
/*
 CGFloat height = [LSZSpecialPackaging initWithReturnsthesizeOf:50 :5];
 UIView * viewBack = [[UIView alloc]initWithFrame:CGRectMake(10, 10, ScreenWidth-20, height)];
 viewBack.backgroundColor = divider;
 [self addSubview:viewBack];

 self.imageViewAvatar = [[UIImageView alloc]init];
 self.imageViewAvatar.frame = CGRectMake(5, 5, viewBack.frame.size.height-10, viewBack.frame.size.height-10);
 [viewBack addSubview:self.imageViewAvatar];

 CGFloat heightLab = [LSZSpecialPackaging initWithReturnsthesizeOf:16 :2];

 self.labelName = [[UILabel alloc]init];
 self.labelName.frame = CGRectMake(CGRectGetMaxX(self.imageViewAvatar.frame)+10, CGRectGetMinY(self.imageViewAvatar.frame), ScreenWidth-CGRectGetMaxX(self.imageViewAvatar.frame)-20, heightLab);
 self.labelName.textColor = titleColorLSZ;
 [LSZSpecialPackaging setLabel_14_5_Size:self.labelName];
 [viewBack addSubview:self.labelName];

 self.labelContent = [[UILabel alloc]init];
 self.labelContent.frame = CGRectMake(CGRectGetMaxX(self.imageViewAvatar.frame)+10, CGRectGetMaxY(self.labelName.frame),self.labelName.frame.size.width, self.imageViewAvatar.frame.size.height-CGRectGetMaxY(self.labelName.frame));
 [LSZSpecialPackaging setLabelAdaptiveSize:self.labelContent font:13.5];
 self.labelContent.numberOfLines = 0;
 self.labelContent.textColor = titleColorLSZ;
 [viewBack addSubview:self.labelContent];

 */
@end
